I am receiving an error :

> 
> 'Error: Compile Error: Method does not exist or incorrect signature:
>  Test.testInstall(PostInstallClass, NULL) at line 5 column 7'
> 
> 
> 

for the below test class.

Code:

```
@isTest
public class testInstaller{
    public void testPostInstallClass() {
        PostInstallClass postinstall = new PostInstallClass();
        Test.testInstall(postinstall ,null);
        Test.testInstall(postinstall, new Version(1,0), true);
    }
}

```

class:

```
 global class PostInstallClass implements InstallHandler {
   global void onInstall(InstallContext context) {
// If installing for the first time, setup data.
    if (context.previousVersion() == null) {
    // load Static Resource containing JSON and to deserialize it and save as records.
        StaticResource someObjectStaticResource = [select Body from StaticResource where Name = 'PocSFTF_CustomSet__c'];
        List<PocSFTF__SFTFPOC__c> someObjects = (List<PocSFTF__SFTFPOC__c>) JSON.deserialize(someObjectStaticResource.Body.toString(), List<PocSFTF__SFTFPOC__c>.class);
        insert someObjects ; 

        StaticResource HistoricD= [select Body from StaticResource where Name = 'PocSFTF_HistoricData__c'];
        List<PocSFTF__SFTF_Historic_data__c> HistData= (List<PocSFTF__SFTF_Historic_data__c>) JSON.deserialize(HistoricD.Body.toString(), List<PocSFTF__SFTF_Historic_data__c>.class);
        insert HistData;
    }
}
}

```

Kindly help me with this issue.