def testRowShouldNotExistInTable(self): dbDriver = DBDriverMock() sut = Pydblibrary() sut.connect_to_database(dbDriver, 'someDbName', 'someUsername', 'somePassword', 'someHost', '7777') sut.row_should_not_exist_in_table('employee', "surname='Doe'")