Skip to content

Commit

Permalink
Stupid mistake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 committed Jun 5, 2015
1 parent 2c59c46 commit d407574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/org/mockito/internal/util/DefaultMockingDetailsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public void should_report_when_not_a_mockito_mock_on_getMockedType() throws Exce

@Test
public void should_get_extra_interfaces() throws Exception {
mock(Bar.class, withSettings().extraInterfaces(List.class, Observer.class));
assertEquals(setOf(Observer.class, List.class), mockingDetails(bar).getExtraInterfaces());
Bar loup = mock(Bar.class, withSettings().extraInterfaces(List.class, Observer.class));
assertEquals(setOf(Observer.class, List.class), mockingDetails(loup).getExtraInterfaces());
}

@Test(expected = NotAMockException.class)
Expand Down

0 comments on commit d407574

Please sign in to comment.