Mocks deliver result depending on assignment details