Switched from morphing into another case to just create the assertion
@@ -111,10 +111,8 @@ class MutationAnalysisGenerator(cv.ChromosomeVisitor):
):
statement = key[1]
if field:
- # This case can be morphed to the object attribute case
- self._switch_generation(
- (cs.EntryTypes.OBJECT_ATTRIBUTE, key[1], statement.ret_val, field),
- ref_value,
+ assertion: ass.Assertion = fa.FieldAssertion(
+ statement.ret_val, ref_value, field
)
else:
assertion = ca.ComplexAssertion(statement.ret_val, ref_value)
