public void CheckDisplayItems(Type type) { // Act var result = OperationHelper.GetSupportedOperationsDisplayItems(type); // Assert Assert.IsNotNull(result); Assert.IsTrue(result.Length > 0); var item = result[0]; Assert.IsNotNull(item.Id); Assert.IsNotNull(item.Name); }