Пример #1
0
    def test_get_should_return_different_instance_each_call(self):
        factory = SymbolMapFactory()
        obj1 = factory.get()
        obj2 = factory.get()

        assert type(obj1) is type(obj2)
        assert obj1 is not obj2
Пример #2
0
    def test_get_should_return_different_instance_each_call(self):
        factory = SymbolMapFactory()
        obj1 = factory.get()
        obj2 = factory.get()

        assert type(obj1) is type(obj2)
        assert obj1 is not obj2
Пример #3
0
 def test_get_should_return_instance_of_symbolMap(self):
     factory = SymbolMapFactory()
     assert isinstance(factory.get(), SymbolMap)
Пример #4
0
 def test_get_should_return_instance_of_symbolMap(self):
     factory = SymbolMapFactory()
     assert isinstance(factory.get(), SymbolMap)