@Test
public void thatAddADeviceTag() throws IOException {

    enqueueServerFile(mMockServer, ADD_SEGMENTATION_TAG);
    final HaloSegmentationTag mySegmentationTag = new HaloSegmentationTag("myCustomTagYear", "1984");
    CallbackV2<Device> callback = givenCallbackWithDeviceSegmentationTagAdd(mCallbackFlag, mySegmentationTag);
    ICancellable cancellable = mHalo.getCore().manager()
            .addDeviceTag(mySegmentationTag, true)
            .threadPolicy(Threading.POOL_QUEUE_POLICY)
            .execute(callback);
    assertThat(mCallbackFlag.isFlagged()).isTrue();
    assertThat(cancellable).isNotNull();
}