Package org.jtester.hamcrest.iassert.object.impl

Examples of org.jtester.hamcrest.iassert.object.impl.LongAssert


   * @param value
   *            a long variable
   * @return
   */
  public ILongAssert number(Long value) {
    return new LongAssert(value);
  }
View Full Code Here


   * a parameter long number will be asserted
   *
   * @return
   */
  public ILongAssert longnum() {
    return new LongAssert();
  }
View Full Code Here

  public INumberAssert count() {
    IN_DB_OPERATOR.set(true);
    try {
      String query = "select count(*) from " + table;
      Number number = (Number) SqlRunner.query(query, Object.class);
      return new LongAssert(number.longValue());
    } finally {
      IN_DB_OPERATOR.set(false);
    }
  }
View Full Code Here

TOP

Related Classes of org.jtester.hamcrest.iassert.object.impl.LongAssert

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.