Example #1
0
        public string ConvertTime(string timeAsString)
        {
            var time = timeParser.Parse(timeAsString);

            return(berlinClockBuilder.Build(time));
        }
Example #2
0
 public void ShouldBuildCorrectly(ITime time, string timeRepresentation)
 {
     Assert.That(builder.Build(time), Is.EqualTo(timeRepresentation));
 }