a fake client that can be used to mock the real objects. From Naiserator: appClient := nais_fake.NewSimpleClientset() app, err := appClient. NaiseratorV1alpha1(). Applications(namespace). Create(app) … persistedApp, err := appClient. NaiseratorV1alpha1(). Applications(namespace). Get(name, metav1.GetOptions{})