Commits

Marcin Grzejszczak committed fc82f1d

Fixed missing lines in the tests

Comments (0)

Files changed (2)

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

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

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

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