Package samples.nice

Examples of samples.nice.NiceDemo


@RunWith(PowerMockRunner.class)
public class NiceDemoTest {

  @Test
  public void testCallAThenB_noExpectations() throws Exception {
    NiceDemo tested = createNicePartialMock(NiceDemo.class, "A", "B");

    replay(tested);

    tested.callAThenB();

    verify(tested);
  }
View Full Code Here

TOP

Related Classes of samples.nice.NiceDemo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.