示例#1
0
 def testOriginalNotEmpty(self):
     observable = patterns.ObservableSet([1, 2, 3])
     observer = patterns.SetDecorator(observable)
     self.assertEqual([1, 2, 3], observer)
示例#2
0
 def createObservableCollection(self):
     return patterns.ObservableSet()