@Test
public void MustCorrectValidateWhenIsClosedTrue() throws SQLException, StorageException {

    when(connection.isClosed()).thenReturn(true);
    assertTrue(!testPostgresConnection.validate());
    verify(connection).isClosed();
}