Skip to content
This repository was archived by the owner on Jan 3, 2018. It is now read-only.
This repository was archived by the owner on Jan 3, 2018. It is now read-only.

MOQ Test for Hardcoded values #73

@sameerpanicker

Description

@sameerpanicker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions