space rainmaker.Space
		)

		BeforeEach(func() {
			var err error

			user, err = rainmaker.NewUsersService(config).Create("user-abc", token)
			Expect(err).NotTo(HaveOccurred())

			_, err = rainmaker.NewUsersService(config).Create("user-xyz", token)
			Expect(err).NotTo(HaveOccurred())

			space, err = service.Create(spaceName, org1.GUID, token)
			Expect(err).NotTo(HaveOccurred())

			err = space.Developers.Associate(user.GUID, token)
			Expect(err).NotTo(HaveOccurred())
		})

		It("returns the users belonging to the space", func() {
			list, err := service.ListUsers(space.GUID, token)
			Expect(err).NotTo(HaveOccurred())
			Expect(list.TotalResults).To(Equal(1))
			Expect(list.TotalPages).To(Equal(1))
			Expect(list.Users).To(HaveLen(1))

			Expect(list.Users[0].GUID).To(Equal(user.GUID))
		})
	})
})