Example #1
0
class TestOnlineRecordingDestinationBuilder(unittest.TestCase):
    def setUp(self):
        self.builder = OnlineRecordingDestinationBuilder()

    def test_given_destination_type_onlinerec_then_returns_online_recording_destination(self):
        dest = {"type": "onlinerec"}

        expected = OnlineRecordingDestination()

        result = self.builder.build(dest)

        assert_that(result, equal_to(expected))
Example #2
0
 def setUp(self):
     self.builder = OnlineRecordingDestinationBuilder()