public void DeployViewModel_DestinationContext_NullValue_ExpectNewguid()
{
//------------Setup for test--------------------------
var a = Dev2MockFactory.SetupEnvironmentModel();
a.Setup(x => x.AuthorizationService).Returns(_authService.Object);
IEnvironmentModel environmentModel = a.Object;
TestEnvironmentRespository testEnvironmentRespository = new TestEnvironmentRespository(environmentModel);
// ReSharper disable ObjectCreationAsStatement
new EnvironmentRepository(testEnvironmentRespository);
// ReSharper restore ObjectCreationAsStatement
//------------Execute Test---------------------------
var deployViewModel = new DeployViewModel(Guid.NewGuid(), Guid.Empty);
//------------Assert Results-------------------------
Assert.IsNotNull(deployViewModel.DestinationContext);
Assert.AreNotEqual(deployViewModel.DestinationContext, Guid.Empty);
}