// Should not be necessary in real life. // Artificial construction only for the sake of tests // todo: remove later private object BeerReset(dynamic o) { XSer.ResetCounters(beers[o.id]); return(XSer.Serialize(beers[o.id])); }