Skip to content

Commit

Permalink
rename to stub
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Jul 19, 2016
1 parent 097e5bb commit 81f3ba9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions WrapperExampleTests/ProcessorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ namespace WrapperExampleTests
[TestClass]
public class ProcessorTests
{
private VirtualEnhancedSeatMapClientWrapper clientWrapper;
private EnhancedSeatMapClientWrapperStub clientWrapper;
private Processor processor;

[SetUp]
public void SetUp()
{
EnhancedSeatMapRS seatMapRs = new EnhancedSeatMapRS();
var clientWrapper = new VirtualEnhancedSeatMapClientWrapper(seatMapRs);
var clientWrapper = new EnhancedSeatMapClientWrapperStub(seatMapRs);
processor = new Processor(clientWrapper);
}

Expand All @@ -29,12 +29,12 @@ public void SeatMap_ReturnsNonEmptySeatMapResponse()
}
}

public class VirtualEnhancedSeatMapClientWrapper : IEnhancedSeatMapClient
public class EnhancedSeatMapClientWrapperStub : IEnhancedSeatMapClient
{
private readonly EnhancedSeatMapRS response;
public bool EnhancedSeatMapInvoked;

public VirtualEnhancedSeatMapClientWrapper(EnhancedSeatMapRS response)
public EnhancedSeatMapClientWrapperStub(EnhancedSeatMapRS response)
{
this.response = response;
}
Expand Down

0 comments on commit 81f3ba9

Please sign in to comment.