public async Task CheckExistenceReturnsCorrectValue() { string groupName = Recording.GenerateAssetName("csmrg");; var checkExistenceFirst = await ResourceGroupsOperations.CheckExistenceAsync(groupName); Assert.AreEqual(404, checkExistenceFirst.Status); await ResourceGroupsOperations.CreateOrUpdateAsync(groupName, new ResourceGroup(DefaultLocation)); var checkExistenceSecond = await ResourceGroupsOperations.CheckExistenceAsync(groupName); Assert.AreEqual(204, checkExistenceSecond.Status); }