コード例 #1
0
  @Test
  public void canSetOperation() {
    viewModel.setOperation(Operation.AND);

    assertEquals(Operation.AND, viewModel.getOperation());
  }
コード例 #2
0
 @Test
 public void isDefaultOperationOr() {
   assertEquals(Operation.OR, viewModel.getOperation());
 }