Lines Matching refs:Bar
41 Bar mock = mock(Bar.class, new ThrowsException(new RuntimeException()));
49 Bar barMock = mock(Bar.class, withSettings().serializable());
171 class Bar implements Serializable {
180 Bar bar;
182 bar = new Bar();
183 bar.foo = this;
194 assertSame(foo, foo.bar.foo);
206 when(readObject.simpleMethod(2)).thenReturn("bar");
210 assertEquals("bar", readObject.simpleMethod(2));