function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonathan Crow 10Jonathan Crow 10 

Writing Apex Test class for Get and Set

I am still trying to understand test classes so any help is apprecated.
I have a statement in my Apex class:

    public Organization runningOrg {
      get {
           return [SELECT Id, IsSandbox FROM Organization LIMIT 1];
      }
      set;
  }

How do I test against this?