1. Marcin Grzejszczak
  2. Too Much Coding

Commits

Marcin Grzejszczak  committed fc82f1d

Fixed missing lines in the tests

  • Participants
  • Parent commits fa192f7
  • Branches default

Comments (0)

Files changed (2)

File Unit Testing - Matchers/src/test/java/pl/grzejszczak/marcin/junit/matchers/builder/SomeBigPojoBuilderNoMatchersTest.java

View file
  • Ignore whitespace
     @Test(expected = AssertionError.class)
     public void testCreateSomeBigPojoWithBuilderWrongFields() throws Exception {
         SomeBigPojo someBigPojo = objectUnderTest
+                .setStringField0("0")
                 .setStringField1("too long")
                 .createSomeBigPojoWithBuilder();
 

File Unit Testing - Matchers/src/test/java/pl/grzejszczak/marcin/junit/matchers/builder/SomeBigPojoBuilderTest.java

View file
  • Ignore whitespace
     @Test(expected = AssertionError.class)
     public void testCreateSomeBigPojoWithBuilderWrongFields() throws Exception {
         SomeBigPojo someBigPojo = objectUnderTest
+                .setStringField0("0")
                 .setStringField1("Too long")
                 .createSomeBigPojoWithBuilder();