@@ -0,0 +1,1995 @@
+package org.assertj.db.api.assertions.impl;%0A%0Aimport org.assertj.core.api.Assertions;%0Aimport org.assertj.core.api.WritableAssertionInfo;%0Aimport org.assertj.db.api.TableAssert;%0Aimport org.assertj.db.type.Table;%0Aimport org.junit.Test;%0A%0Aimport static org.assertj.db.api.Assertions.assertThat;%0Aimport static org.junit.Assert.fail;%0A%0A/**%0A * Tests on %7B@link AssertionsOnNumberOfRows%7D class :%0A * %7B@link AssertionsOnNumberOfRows#hasNumberOfRows(org.assertj.db.api.AbstractAssert, org.assertj.core.api.WritableAssertionInfo, int, int)%7D method.%0A *%0A * @author R%C3%A9gis Pouiller%0A *%0A */%0Apublic class AssertionsOnNumberOfRows_HasNumberOfRows_Test %7B%0A%0A  /**%0A   * This method tests the %7B@code hasNumberOfRows%7D assertion method.%0A   */%0A  @Test%0A  public void test_has_number_of_rows() throws Exception %7B%0A    WritableAssertionInfo info = new WritableAssertionInfo();%0A    Table table = new Table();%0A    TableAssert tableAssert = assertThat(table);%0A    TableAssert tableAssert2 = AssertionsOnNumberOfRows.hasNumberOfRows(tableAssert, info, 8, 8);%0A    Assertions.assertThat(tableAssert2).isSameAs(tableAssert);%0A  %7D%0A%0A  /**%0A   * This method should fail because the number of rows is different.%0A   */%0A  @Test%0A  public void should_fail_because_number_of_rows_is_different() throws Exception %7B%0A    WritableAssertionInfo info = new WritableAssertionInfo();%0A    info.description(%22description%22);%0A    Table table = new Table();%0A    TableAssert tableAssert = assertThat(table);%0A    try %7B%0A      AssertionsOnNumberOfRows.hasNumberOfRows(tableAssert, info, 8, 9);%0A      fail(%22An exception must be raised%22);%0A    %7D catch (AssertionError e) %7B%0A      Assertions.assertThat(e.getMessage()).isEqualTo(%22%5Bdescription%5D %5Cn%22%0A                                                      + %22Expecting size (number of rows) to be equal to :%5Cn%22%0A                                                      + %22   %3C9%3E%5Cn%22%0A                                                      + %22but was:%5Cn%22%0A                                                      + %22   %3C8%3E%22);%0A    %7D%0A  %7D%0A%7D%0A

Add test on AssertionsOnNumberOfRows