var containerRestartPolicyAlways … func TestGenerateContainersReadyCondition(t *testing.T) { … } func TestGeneratePodReadyCondition(t *testing.T) { … } func TestGeneratePodInitializedCondition(t *testing.T) { … } func TestGeneratePodReadyToStartContainersCondition(t *testing.T) { … } func getPodCondition(conditionType v1.PodConditionType, status v1.ConditionStatus, reason, message string) v1.PodCondition { … } func getReadyStatus(cName string) v1.ContainerStatus { … } func getNotReadyStatus(cName string) v1.ContainerStatus { … } func getStartedStatus(cName string) v1.ContainerStatus { … } func getNotStartedStatus(cName string) v1.ContainerStatus { … }