public void SSG_Notese_should_map_to_RepsonseNote_correctly() { SSG_Notese notese = new SSG_Notese { Description = "note" }; ResponseNote n = _mapper.Map <ResponseNote>(notese); Assert.AreEqual("note", n.Description); }
public static bool IsFeed(this ResponseNote note) { switch (note) { case ResponseNote.SEQUENCE_FEED: return(true); case ResponseNote.ATOM_FEED: return(true); case ResponseNote.ORDER_BY_LIMIT_FEED: return(true); case ResponseNote.UNIONED_FEED: return(true); default: return(false); } }