Exemplo n.º 1
0
        public void SearchArea_ShowHideShowTest()
        {
            //arrange
            var h = new SearchArea(_searchPanelStateMachine).Hide().Show();

            //act/assert
            Assert.That(h.CurrentState == new SearchAreaState.Visible());
        }
Exemplo n.º 2
0
        public void SearchArea_ShowHideTest()
        {
            //arrange
            var h = new SearchArea(_searchPanelStateMachine);

            h.Hide();

            //act/assert
            Assert.That(h.CurrentState == new SearchAreaState.Hidden());
        }