def test_apply_type_wb_wrong_type(self):
     self.types[-1] = 'not a type'
     TermSelector.apply_type(self.elements, self.types)
    def test_apply_type_bb(self):
        applied_types = TermSelector.apply_type(self.elements, self.types)

        types = map(lambda x: type(x), applied_types)
        assert_equals(types, self.types)