It sees all of the Tests in the Theory as one test but there is three for Constructor_Fail?
Maybe I am doing something wrong
public static IEnumerable<object[]> GetInfoFail()
{
var loggerMock = new Mock<ILogger<Handler>>();
var eventBusMock = new Mock<IEventBus>();
var optionsMock = new Mock<IOptions<Options>>();
yield return new object[] { null, loggerMock.Object, optionsMock.Object };
yield return new object[] { eventBusMock.Object, null, optionsMock.Object };
yield return new object[] { eventBusMock.Object, loggerMock.Object, null};
}
[Theory]
[MemberData(nameof(GetInfoFail))]
public void Constructor_Fail(
IEventBus eventBus,
ILogger<Handler> logger,
IOptions<Options> Options )
{