public static async Task Can_Delete_Project() { // Arrange BrowserStackAutomateClient target = CreateAuthenticatedClient(); int projectId = 0; // Act await target.DeleteProjectAsync(projectId); // Assert target .Awaiting((p) => p.DeleteProjectAsync(projectId)) .ShouldThrow <BrowserStackAutomateException>() .And .ErrorDetail.Should().NotBeNull(); }