Bumblebee.IntegrationTests.Setup.SessionTests.Given_session_with_default_settings.When_CaptureScreen_is_called_with_invalid_file_extension_Then_an_exception_is_thrown C# (CSharp) Метод

When_CaptureScreen_is_called_with_invalid_file_extension_Then_an_exception_is_thrown() приватный Метод

		public void When_CaptureScreen_is_called_with_invalid_file_extension_Then_an_exception_is_thrown()
		{
			Action fn = () => _session.CaptureScreen("screenshot.txt");

			fn.ShouldThrow<ArgumentException>();
		}
	}