public async Task TestDetachDebugTargetAsync()
        {
            // given
            var response = new RDBGEmptyResponse();

            var messageHandler = new MockHttpMessageHandler();

            messageHandler.Enqueue(HttpStatusCode.OK, response);

            var manager       = Create(messageHandler);
            var debugTargetId = new DebugTargetIdLight()
            {
                ID = Guid.NewGuid()
            };

            // when
            await manager.DetachDebugTargetAsync(debugTargetId);

            // then
            var request = messageHandler.Dequeue();

            Assert.AreEqual("http://localhost/e1crdbg/rdbg?cmd=attachDetachDbgTargets", request.RequestUri.ToString());
        }
 public async Task DetachDebugTargetAsync(DebugTargetIdLight target) =>
 await AttachDetachDebugTargetsAsync(new List <DebugTargetIdLight>() { target }, false);