Skip to content

Commit

Permalink
Fix errors in junit4 README.
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn committed Sep 12, 2019
1 parent c5c47d1 commit df34366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions junit4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ class Foo {
class TestClassProducerTest {

@Rule
public WeldInitiator weld = WeldInitiator.from(Foo.class, MockBeanTest.class).build();
public WeldInitiator weld = WeldInitiator.from(Foo.class, TestClassProducerTest.class).build();

@ApplicationScoped
@Produces
Bar produceBar() {
// Mock object provided by Mockito
return Mockito.when(Mockito.mock(Bar.class).ping()).thenReturn("pong").getMock());
return Mockito.when(Mockito.mock(Bar.class).ping()).thenReturn("pong").getMock();
}

@Test
Expand Down

0 comments on commit df34366

Please sign in to comment.