public void PublishEndCorrectly(bool isOk)
        {
            // Arrange
            string testErrorMessage = "Test text";

            // Act
            buildModeHUDController.PublishEnd(isOk, testErrorMessage);

            // Assert
            buildModeHUDController.controllers.publishPopupController.Received(1).PublishEnd(isOk, testErrorMessage);
        }
Example #2
0
        public void PublishEndCorrectly()
        {
            // Arrange
            string testText = "Test text";

            // Act
            buildModeHUDController.PublishEnd(testText);

            // Assert
            buildModeHUDController.view.Received(1).PublishEnd(testText);
        }