Package pl.var.app.cardsrepository.card.CardQuery

Examples of pl.var.app.cardsrepository.card.CardQuery.Applier


{
  @Test
  public void testApplyEmpty()
  {
    CardQuery cardQuery = CardQuery.empty();
    Applier applier = mock(Applier.class);

    cardQuery.apply(applier);

    verifyZeroInteractions(applier);
  }
View Full Code Here


  public void testApply()
  {
    Long newId = 4353L;
    String newName = "name";
    CardQuery cardQuery = CardQuery.empty().withId(newId).withName(newName);
    Applier applier = mock(Applier.class);

    cardQuery.apply(applier);

    verify(applier).withId(newId);
    verify(applier).withName(newName);
View Full Code Here

TOP

Related Classes of pl.var.app.cardsrepository.card.CardQuery.Applier

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.