public MainWindow(IApiWrapperBuilder instaApiBuilder) { InitializeComponent(); this.instaApi = instaApiBuilder.CreateApi(); LoadSession(); }
public void ApiWrapperBuilder_CreateApi_returns_Instance_Of_ApiWrapper() { var result = subject.CreateApi(); Assert.IsInstanceOf <IApiWrapper>(result); }