@Test
public void testMakeSingleFieldConstraintEBLeftSide() {

    final String expectedFactType = "factType";
    final ExpressionFormLine expectedExpressionFormLine = mock(ExpressionFormLine.class);
    final int expectedConstraintValueType = SingleFieldConstraint.TYPE_UNDEFINED;
    doReturn(expectedExpressionFormLine).when(popupCreator).makeExpressionFormLine(expectedFactType);
    final SingleFieldConstraintEBLeftSide constraint = popupCreator.makeSingleFieldConstraintEBLeftSide(expectedFactType);
    assertEquals(expectedConstraintValueType, constraint.getConstraintValueType());
    assertEquals(expectedExpressionFormLine, constraint.getExpressionLeftSide());
    assertEquals(expectedFactType, constraint.getFactType());
}