Fix new line after @Test (#2486)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-06-20 17:42:55 +03:00
committed by GitHub
parent cb7f1107fe
commit ef25aa59f0
152 changed files with 2948 additions and 1474 deletions

View File

@@ -26,7 +26,8 @@ class PagedListTest {
/**
* Ensures that a null payload entity throws an exception.
*/
@Test void createListWithNullContentThrowsException() {
@Test
void createListWithNullContentThrowsException() {
assertThatThrownBy(() -> new PagedList<>(null, 0))
.isInstanceOf(NullPointerException.class);
}
@@ -34,7 +35,8 @@ class PagedListTest {
/**
* Create list with payload and verify content.
*/
@Test void createListWithContent() {
@Test
void createListWithContent() {
final long knownTotal = 2;
final List<String> knownContentList = new ArrayList<>();
knownContentList.add("content1");
@@ -46,7 +48,8 @@ class PagedListTest {
/**
* Create list with payload and verify size values.
*/
@Test void createListWithSmallerTotalThanContentSizeIsOk() {
@Test
void createListWithSmallerTotalThanContentSizeIsOk() {
final long knownTotal = 0;
final List<String> knownContentList = new ArrayList<>();
knownContentList.add("content1");

View File

@@ -33,7 +33,8 @@ class MgmtTargetAssignmentResponseBodyTest {
/**
* Tests that the ActionIds are serialized correctly in MgmtTargetAssignmentResponseBody
*/
@Test void testActionIdsSerialization() throws IOException {
@Test
void testActionIdsSerialization() throws IOException {
final MgmtTargetAssignmentResponseBody responseBody = generateResponseBody();
final ObjectMapper objectMapper = new ObjectMapper();
final String responseBodyAsString = objectMapper.writeValueAsString(responseBody);