def test_create_text_filter(self):
    sample_filter = self._get_sample_text_filter()
    filter_resource_response = self.bitmovin.filters.Text.create(sample_filter)
    self.assertIsNotNone(filter_resource_response)
    self.assertIsNotNone(filter_resource_response.resource)
    self.assertIsNotNone(filter_resource_response.resource.id)
    self._compare_text_filters(sample_filter, filter_resource_response.resource)
def test_create_text_filter(self):
    sample_filter = self._get_sample_text_filter()
    filter_resource_response = self.bitmovin.filters.Text.create(sample_filter)
    self.assertIsNotNone(filter_resource_response)
    self.assertIsNotNone(filter_resource_response.resource)
    self.assertIsNotNone(filter_resource_response.resource.id)
    self._compare_text_filters(sample_filter, filter_resource_response.resource)