i have a interface, and i need a mocked one else interface in this interface.
What is wrong?
There is an interface, I need a layout (?) In another interface in this interface.
What is wrong here? enter image description here

    1 answer 1

    Just try to select a different interface property from the first one.

    private void Mock_IImportConfigurationEmail() { autoMockContext .Mock<IImportConfiguration>() .SetupGet(get => get.Email.RecipientEmail) .Returns("asd"); } 
    • Thanks, it works, the test passes !!! - user226693