I have a method which takes in a request object. The request object has a enum property.
Before the passed in request object is sent to the actual service, we change the enum value. i.e.
Passed enum value may be NULL or Enum Value1. Before the service call is done, the enum value is updated or hard coded i.e.
Enum Property = Enum Value 2.
I need to write a test to check whether the passed in enum value is Enum Value 2 and nothing else.
I have a method which takes in a request object. The request object has a enum property.
Before the passed in request object is sent to the actual service, we change the enum value. i.e.
Passed enum value may be NULL or Enum Value1. Before the service call is done, the enum value is updated or hard coded i.e. Enum Property = Enum Value 2.
I need to write a test to check whether the passed in enum value is Enum Value 2 and nothing else.