public void ReceivingServerErrorWhileBuildingWillAbortBuildProcess()
        {
            bool isAppBuildFailedTriggeredByServerError = false;

            viewModel.AppBuildFailedRecieved += failed => isAppBuildFailedTriggeredByServerError = true;
            service.ReceiveData(new ServerError("I have seen an error"));
            Assert.IsTrue(isAppBuildFailedTriggeredByServerError);
        }
Beispiel #2
0
 private void Run()
 {
     service.ReceiveData(GetBuiltResult());
 }