def test_anzahl_withOneEntry_shouldReturnOne(self):
        component_under_test = Einzelbuchungen()
        component_under_test.add(datum('01.01.2012'), '1kategorie', '1name', 1)

        assert component_under_test.anzahl() == 1
    def test_anzahl_withEmptyDB_shouldReturnZero(self):
        component_under_test = Einzelbuchungen()

        assert component_under_test.anzahl() == 0