import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; public class Question3Test { String[] os = {"Hello", "world", "again"}; @Test public void testElem1() { assertTrue(Question3.elem("world", os)); } @Test public void testElem2() { assertFalse(Question3.elem("chocolate", os)); } }