Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [TestMethod]
- public void OrientationTest()
- {
- IRotatable rotatable = ((IRotatable)_driver);
- rotatable.Orientation = ScreenOrientation.Portrait;
- Assert.AreEqual(ScreenOrientation.Portrait, rotatable.Orientation);
- }
- [TestMethod]
- public void LockTest()
- {
- _driver.Lock();
- Assert.AreEqual(true, _driver.IsLocked());
- _driver.Unlock();
- Assert.AreEqual(false, _driver.IsLocked());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement