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))
 def setUp(self):
     self.builder = OnlineRecordingDestinationBuilder()