public void ShouldBeAbleToMaximizeTheCurrentWindow()
{
Size targetSize = new Size(275, 275);
IWindow window = driver.Manage().Window;
window.Size = targetSize;
WaitFor(WindowHeightToBeEqualTo(targetSize.Height));
WaitFor(WindowWidthToBeEqualTo(targetSize.Height));
window.Maximize();
WaitFor(WindowHeightToBeGreaterThan(targetSize.Height));
WaitFor(WindowWidthToBeGreaterThan(targetSize.Width));
Assert.Greater(window.Size.Height, targetSize.Height);
Assert.Greater(window.Size.Width, targetSize.Width);
}