Ejemplo n.º 1
0
        public async Task UnlinkAndDeleteAsync()
        {
            var mock = new Mock <ITimelineService>();

            await TimelineEvent.UnlinkAndDeleteAsync(mock.Object, "ID1", "ID2");

            mock.Verify(m => m.PutJsonAsync("TimelineEvent/Delete", It.IsAny <object>()));
            mock.Verify(m => m.PutJsonAsync("Timeline/UnlinkEvent", It.IsAny <object>()));
        }