public void ListenInitialState()
    {
        var container   = new DeltaContainer(new IndexedDictionary <string, object>());
        var listenCalls = 0;

        container.Listen("players/:id/position/:attribute", (DataChange change) => {
            listenCalls++;
        });

        container.Listen("turn", (DataChange change) => {
            listenCalls++;
        });

        container.Listen("game/turn", (DataChange change) => {
            listenCalls++;
        });

        container.Listen("messages/:number", (DataChange change) => {
            listenCalls++;
        });

        container.Set(GetRawData());

        Assert.AreEqual(9, listenCalls);
    }
 public void Init()
 {
     container = new DeltaContainer(GetRawData());
 }