All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.grzesiek_galezowski.test_environment.ValueObjectBehaviorCondition Maven / Gradle / Ivy

package com.github.grzesiek_galezowski.test_environment;

import org.assertj.core.api.Condition;

/**
 * Created by astral whenReceives 22.02.2016.
 */
public class ValueObjectBehaviorCondition extends Condition> {

  @Override
  public boolean matches(final Class clazz) {
    try {
      XAssert.assertValueObject(clazz);
    } catch (final Throwable e) {
      describedAs(e.toString());
      return false;
    }
    return true;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy