public void TestsPublicCommandsRespectNonEnabledState() { ModuleResponses responses = utils.moduleReturnsFromAllBaseCallsFromANonEnabledState(module); Assert.False(responses.Enabled, "Unexpectedly enabled."); Assert.False(responses.Disabled, "Unexpectedly disabled."); Assert.True(responses.Tracked, "Unexpectedly tracked call."); Assert.True(responses.Reported, "Unexpectededly handled report."); }
public void TestsPublicCommandsRespectDisableCommand() { ModuleResponses responses = utils.moduleReturnsFromAllBaseCallsAfterDisable(module); Assert.True(responses.Enabled, "Enabled not called."); Assert.True(responses.Disabled, "Disabled not called."); Assert.True(responses.Tracked, "Unexpectedly tracked call."); Assert.True(responses.Reported, "Unexpectededly handled report."); }
public void TestsPublicCommandsReturn() { ModuleResponses responses = utils.moduleReturnsFromAllBaseCalls(module); Assert.True(responses.Enabled, "Failed to enable."); Assert.True(responses.Disabled, "Failed to disable."); Assert.True(responses.Tracked, "Failed to track."); Assert.True(responses.Reported, "Failed to handle report."); }