public void Then_The_PutUrl_Is_Correctly_Build(RegisterEmploymentCheckCommand command) { var actual = new RegisterEmploymentCheckRequest(command); actual.PostUrl.Should().Be($"api/EmploymentCheck/RegisterCheck"); actual.Data.Should().Be(command); }
public RegisterEmploymentCheckRequest(RegisterEmploymentCheckCommand data) { Data = data; }