class TestPhoneBookLayer(unittest.TestCase):
    def setUp(self):
        self.pbl = DummydbPhoneBookLayer()
        self.pbl.db.add = Mock()
        
    def test_insert(self):
        self.pbl.insert("Vedurstofan;Bustadavegi 7;5226000")
        self.pbl.db.add.assert_called_with('phone_book',
                                           'Vedurstofan',
                                           'Bustadavegi 7',
                                           5226000)

    def test_lookup(self):
        raise NotImplementedError("Implement this test please!")
 def setUp(self):
     self.pbl = DummydbPhoneBookLayer()
     self.pbl.db.add = Mock()