2022-09-21 12:11:18 -07:00
|
|
|
using k8s.Models;
|
2022-09-28 22:34:32 +02:00
|
|
|
using Xunit;
|
2022-09-21 12:11:18 -07:00
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|