public void AUT_HtmlColorService_GetRandomHtmlColor_Static_Method_DirectCall_No_Exception_Thrown_Test() { // Arrange Action executeAction = null; // Act executeAction = () => HtmlColorService.GetRandomHtmlColor(); // Assert Should.NotThrow(executeAction); }
public void AUT_HtmlColorService_GetPredefinedColorBasedOnIndex_Static_Method_DirectCall_No_Exception_Thrown_Test() { // Arrange var index = CreateType <int>(); Action executeAction = null; // Act executeAction = () => HtmlColorService.GetPredefinedColorBasedOnIndex(index); // Assert Should.NotThrow(executeAction); }