Update AdvancedSorceressTest.java
This commit is contained in:
parent
30dcbee2cc
commit
17039dc5e9
@ -26,8 +26,15 @@ import com.iluwatar.dependency.injection.utils.InMemoryAppender;
|
|||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Date: 28/04/17 - 7:40 AM
|
||||||
|
*
|
||||||
|
* @author Stanislav Kapinus
|
||||||
|
*/
|
||||||
|
|
||||||
public class AdvancedSorceressTest {
|
public class AdvancedSorceressTest {
|
||||||
|
|
||||||
private InMemoryAppender appender;
|
private InMemoryAppender appender;
|
||||||
@ -46,7 +53,6 @@ public class AdvancedSorceressTest {
|
|||||||
* Test if the {@link AdvancedSorceress} smokes whatever instance of {@link Tobacco} is passed to her
|
* Test if the {@link AdvancedSorceress} smokes whatever instance of {@link Tobacco} is passed to her
|
||||||
* through the setter's parameter
|
* through the setter's parameter
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSmokeEveryThing() throws Exception {
|
public void testSmokeEveryThing() throws Exception {
|
||||||
|
|
||||||
@ -65,5 +71,6 @@ public class AdvancedSorceressTest {
|
|||||||
|
|
||||||
// ... and nothing else is happening.
|
// ... and nothing else is happening.
|
||||||
assertEquals(tobaccos.length, appender.getLogSize());
|
assertEquals(tobaccos.length, appender.getLogSize());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user