public void SerializeResource_WithResourceNull_Throws_ArgumentNullException()
        {
            // arrange
            var          sut           = new HateoasSerializer();
            const string parameterName = "resource";

            // act
            Action actual = () => sut.SerializeResource(null);

            Assert.Throws <ArgumentNullException>(parameterName, actual);
        }
        public void SerializeResource_WithValidResource_ReturnsExpectedString(Resource resource, string expectedOutput)
        {
            // arrange
            var sut = new HateoasSerializer();

            // act
            var actual = sut.SerializeResource(resource);

            // assert
            Assert.Equal(expectedOutput, actual);
        }