public void WriteJson_NullSerializer_ThrowsException()
        {
            // Arrange
            var patientNameJsonConverter = new PatientNameJsonConverter();

            // Act + Assert
            Assert.That(() => patientNameJsonConverter.WriteJson(new JsonTextWriter(new StreamWriter(new MemoryStream())), 0, null), Throws.InstanceOf<ArgumentNullException>());
        }
        public void WriteJson_NullWriter_ThrowsException()
        {
            // Arrange
            var patientNameJsonConverter = new PatientNameJsonConverter();

            // Act + Assert
            Assert.That(() => patientNameJsonConverter.WriteJson(null, 0, new JsonSerializer()), Throws.InstanceOf<ArgumentNullException>());
        }