@Test public void returnAMockOfTheInstanceUnderConstructionIfTheBuildMethodIsCalled() throws Exception { assertThat(mockedBuilder.build(), instanceOf(ObjectUnderConstruction.class)); }
@Test public void ifAMethodIsCalledOnTheMockOfTheBuilderItReturnsTheMock() throws Exception { assertThat(mockedBuilder.collectDetail("detail"), is(mockedBuilder)); }