示例#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));
        }