Method NoUnexpectedReceived
NoUnexpectedReceived()
Triggers an assertion when receiving any log messages and fails the test if some are unexpected messages. If multiple tests need to check for no received unexpected logs, consider using the TestMustExpectAllLogsAttribute attribute instead.
Declaration
public static void NoUnexpectedReceived()