Skip to content

Commit

Permalink
Renamed some classes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfoster76 committed Apr 20, 2020
1 parent b3b1ad7 commit b3242c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ namespace SFA.DAS.CommitmentsV2.UnitTests.Application.Commands
{
[TestFixture]
[Parallelizable]
public class ChangeOfPartyCommandHandlerTests
public class CreateChangeOfPartyCommandHandlerTests
{
[Test]
public async Task Handle_WhenHandlingCommand_ThenShouldCallDomainServiceCorrectly()
{
var f = new ChangeOfPartyCommandHandlerTestsFixture();
var f = new CreateChangeOfPartyCommandHandlerTestsFixture();

await f.Handle();

Expand All @@ -26,15 +26,15 @@ public async Task Handle_WhenHandlingCommand_ThenShouldCallDomainServiceCorrectl
}
}

public class ChangeOfPartyCommandHandlerTestsFixture
public class CreateChangeOfPartyCommandHandlerTestsFixture
{
public Fixture AutoFixture { get; set; }
public Mock<IChangeOfPartyRequestDomainService> ChangeOfPartyDomainService { get; set; }
public IRequestHandler<CreateChangeOfPartyRequestCommand> Handler { get; set; }
public CreateChangeOfPartyRequestCommand Command { get; set; }
public CancellationToken CancellationToken { get; set; }

public ChangeOfPartyCommandHandlerTestsFixture()
public CreateChangeOfPartyCommandHandlerTestsFixture()
{
AutoFixture = new Fixture();
ChangeOfPartyDomainService = new Mock<IChangeOfPartyRequestDomainService>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace SFA.DAS.CommitmentsV2.UnitTests.Application.Commands
{
[TestFixture]
[Parallelizable]
public class ChangeOfPartyRequestValidatorTests
public class CreateChangeOfPartyRequestValidatorTests
{
[TestCase(0, false)]
[TestCase(1, true)]
Expand Down

0 comments on commit b3242c8

Please sign in to comment.