353637383940414243
assertThat(createdTree.getJunitTests()).isEmpty(); } @Test public void itShouldAddAGivenTest(){ JunitTestCode givenTest = mock(JunitTestCode.class); createdTree.addTest(givenTest); assertThat(createdTree.getJunitTests()).contains(givenTest); }