3#include <Covellite\Gui\ILayer.hpp>
43 using LayerPtr_t = ::std::shared_ptr<::covellite::gui::ILayer>;
47 public ::alicorn::extension::testing::Proxy<Proxy>
50 MOCK_METHOD0(Constructor, Id_t(
void));
51 MOCK_METHOD2(Push,
void(Id_t, Id_t));
52 MOCK_METHOD1(Pop,
bool(Id_t));
57 Layers & operator= (
const Layers &) =
delete;
58 bool operator== (
const Layers & _Value)
const {
return (m_Id == _Value.m_Id); }
61 void Push(
const LayerPtr_t & _pLayer)
63 Proxy::GetInstance()->Push(m_Id,
64 dynamic_cast<const ::mock::covellite::gui::Layer &
>(*_pLayer).m_Id);
69 return Proxy::GetInstance()->Pop(m_Id);
74 m_Id(Proxy::GetInstance()->Constructor())