public void Setup() { mock = new MockData(); resolution = mock.CreateScreenResolution(); sut = new CustomComponent(); sut.SetScreenResolution(resolution); }