public void CreateDescription_Should_ReturnWithMinimumValue_When_ActionIsCreated() { string href = _fixture.Create <string>(); string hrefPrefix = _fixture.Create <string>(); _action.HrefPrefix.Returns(hrefPrefix); _action.Href.Returns(href); _action.Status.Returns(Status.Created); _action.TimeRequested.Returns(DateTime.UtcNow); var expected = new Dictionary <string, object> { ["href"] = $"{_action.HrefPrefix.JoinUrl(_action.Href)}", ["timeRequested"] = _action.TimeRequested, ["status"] = "created" }; var result = _descriptor.CreateDescription(_action); result.Should().BeEquivalentTo(expected); }