Пример #1
0
 def setUp(self) -> None:
     receiver = bank.Receiver(name="adria", amount=50)
     self.command = bank.Balance(receiver)
Пример #2
0
 def test_invoker_run(self):
     receiver = bank.Receiver(name='adria', amount=50)
     invoker = bank.Invoker(bank.Balance(receiver))
     self.assertIsNone(invoker.run())
Пример #3
0
 def setUp(self) -> None:
     self.receiver = bank.Receiver(name="adria", amount=50)
Пример #4
0
 def setUp(self) -> None:
     self.receiver = bank.Receiver(name="adria", amount=50)
     self.command = bank.Deposit(self.receiver, 30.0)