/**
  * Constructor.
  *
  * @param actual The actual value in the failed assertion.
  * @param tested The tested class.
  * @param expected The expected class.
  */
 private ShouldBeValueClassWithEndPoint(Value actual, Class tested, Class expected) {
   super(EXPECTED_MESSAGE, actual.getValue(), expected, tested);
 }
 /**
  * Constructor.
  *
  * @param actual The actual value in the failed assertion.
  * @param expected The expected class.
  */
 private ShouldBeValueClassWithEndPoint(Value actual, Class expected) {
   super(EXPECTED_MESSAGE_JUST_WITH_EXPECTED, actual.getValue(), expected);
 }
 /**
  * Creates a new <code>{@link org.assertj.db.error.ShouldBeValueClassWithEndPoint}</code>.
  *
  * @param actual The actual value in the failed assertion.
  * @param expected The expected class.
  * @return the created {@code ErrorMessageFactory}.
  */
 public static ErrorMessageFactory shouldBeValueClassWithEndPoint(Value actual, Class expected) {
   if (actual.getValue() == null) {
     return new ShouldBeValueClassWithEndPoint(actual, expected);
   }
   return new ShouldBeValueClassWithEndPoint(actual, actual.getValue().getClass(), expected);
 }