示例#1
0
        public Project SetToCurrentProjectIfSupported_(IFixture fixture)
        {
            // Arrange
            var vm = new PrigViewModel();

            // Act
            vm.SetToCurrentProjectIfSupported(fixture.Freeze <Project>());

            // Assert
            fixture.Freeze <Mock <Project> >().VerifyAll();
            return(vm.CurrentProject.Value);
        }