It depends on the parameters you pass to IsGenuine(). Don't use 0 nDaysBetweenChecks or nGracePeriod.
How can i check if a client is connected with the internet so i can test on IsGenuineResult.InternetError.
Don't disable network devices either. If you want to test without the internet then unplug the ethernet cable, or disconnect from the network.