public-members

Is there ever a use for a class that only contains public instance-fields?

I was performing a code review and I saw a class that a developer had created, that only contained public instance-fields. This class is not used in business logic; it is merely used to hold test data (the developer created this for a test). Is this alright? Why or why not? ...