private static ComplexityViewModel CreateViewModel() { Mock <IOptions> optionsMock = ColorConverterTest.CreateOptionsMock(); return(new ComplexityViewModel(optionsMock.Object)); }
private static ComplexityViewModel AssignComplexity(int expected = Expected) { Mock <IOptions> optionsMock = ColorConverterTest.CreateOptionsMock(); return(AssigComplexity(optionsMock, expected)); }