예제 #1
0
        private static ComplexityViewModel CreateViewModel()
        {
            Mock <IOptions> optionsMock = ColorConverterTest.CreateOptionsMock();

            return(new ComplexityViewModel(optionsMock.Object));
        }
예제 #2
0
        private static ComplexityViewModel AssignComplexity(int expected = Expected)
        {
            Mock <IOptions> optionsMock = ColorConverterTest.CreateOptionsMock();

            return(AssigComplexity(optionsMock, expected));
        }