diff --git a/BDD/BerlinClockFeatureSteps.cs b/BDD/BerlinClockFeatureSteps.cs index 4390f3cb..b089bef6 100644 --- a/BDD/BerlinClockFeatureSteps.cs +++ b/BDD/BerlinClockFeatureSteps.cs @@ -2,13 +2,14 @@ using TechTalk.SpecFlow; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; +using BerlinClock.Classes.BerlinClock.BerlinClockProviders; namespace BerlinClock { [Binding] public class TheBerlinClockSteps { - private ITimeConverter berlinClock = new TimeConverter(); + private ITimeConverter berlinClock = new TimeConverter(new TimeStringValidator(), new BerlinClockConverter(new TimeBlockProviderFactory())); private String theTime; @@ -21,7 +22,7 @@ public void WhenTheTimeIs(string time) [Then(@"the clock should look like")] public void ThenTheClockShouldLookLike(string theExpectedBerlinClockOutput) { - Assert.AreEqual(berlinClock.convertTime(theTime), theExpectedBerlinClockOutput); + Assert.AreEqual(berlinClock.ConvertTime(theTime), theExpectedBerlinClockOutput); } } diff --git a/BerlinClock.csproj b/BerlinClock.csproj index ac8af99d..e874b8c5 100644 --- a/BerlinClock.csproj +++ b/BerlinClock.csproj @@ -50,6 +50,19 @@ + + + + + + + + + + + + + True @@ -70,6 +83,7 @@ +