public when_publishing_a_null_event_to_the_binary_file_publisher() { file_path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "temp_stream_test.txt"); if (File.Exists(file_path)) File.Delete(file_path); publisher = new BinaryFilePublisher(file_path); expected_event = null; }
public when_publishing_an_event_to_the_binary_file_publisher() { file_path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "temp_stream_test.txt"); if (File.Exists(file_path)) File.Delete(file_path); publisher = new BinaryFilePublisher(file_path); expected_event = new TestEvent() { Description = "This is a test" }; }