Function createAssertion