Files
csharp/tests/KubernetesClient.Tests/ItemsEnumTests.cs
Manuel Menegazzo 3702fd6e90 Standardization of using order and object initialization (#1028)
* Code cleanup KubernetesClient

* KubernetesClient.Basic code cleanup

* KubernetesClient.Models cleanup

* LibKubernetesGenerator code cleanup

* Improved readability of object initialization

* FIx namespace order

* Fixed some compilation warning
2022-09-28 13:34:32 -07:00

23 lines
366 B
C#

using k8s.Models;
using Xunit;
namespace k8s.Tests;
public class ItemsEnumTests
{
[Fact]
public void EnsureIItemsEnumerable()
{
var pods = new V1PodList
{
Items = new[] { new V1Pod() },
};
// ensure no sytax err
foreach (var pod in pods)
{
Assert.NotNull(pod);
}
}
}