public void SetUp() { painterFactory = A.Fake <IPainterFactory>(); painter = A.Fake <ICloudPainter>(); A.CallTo(() => painterFactory.Create()).Returns(Result.Ok(painter)); }
public ValuesController(ICloudPainter cloudPainter) { _cloudPainter = cloudPainter; }