title: Constructor not defined during Test
body: <p>I am having a pesky error testing this piece of code.Not sure what I am doing wrong. I have tested standard controllers before but not the getSelectedMethod
  <strong>Error:
  Constructor not defined:[myClass].(ApexPages.StandardController)</strong></p>
  
  <pre><code>public class MyClass{
  
    public List&lt;Web__c&gt; postings {get;set;}
    public static final String POSTINGSTATUS = 'Yes';
  
    public MyClass (ApexPages.StandardSetController controller) {
       List&lt;Web__c&gt; selectedWeb = (List&lt;Web__c&gt;) controller.getSelected();
       postings = [Select Id, Name,
                      FROM Web___c Where Id IN: selectedWeb
                      AND Date__c != null 
                      AND Date__c &gt; today];
   }
  }
  </code></pre>
  
  <p>My Test Class</p>
  
  <pre><code>private class myTestClass {
  
    static testMethod void WebTest() {
      List &lt;Web__c&gt; posting = helper.createWeb(4);
      insert posting;
  
      Test.startTest();  
      PageReference pageRef = Page.VFPAGE;
      Test.setCurrentPage(pageRef);
      ApexPages.StandardController sc = new ApexPages.standardController(posting[0]);
      myClass JPC = new myClass(sc);
      sc.setSelected(posting);
      Test.stopTest();
    }
  </code></pre>