Bad type on the operand stack in arraylength
I am trying to test a method using powermock. i haven't written any test cases yet. Just trying to set up the class for Mocking. here is what I have so far: @RunWith(PowerMockRunner.class) @PrepareForTest({ ReadRubric.class }) public class ReadRubricTest { @Before public void setUp() throws Exception { PowerMockito.mock(ReadRubric.class); } @After public void tearDown() throws Exception { } @Test public void invalidFile() throws Exception { } } When I try to run this test I get the following error. java.lang.VerifyError: Bad type on operand stack in arraylength Exception Details: Location: com