package com.grayben.riskExtractor.headingMarker;

import com.grayben.riskExtractor.headingMarker.elector.ElectedTextList;

import java.util.List;

public class MarkedText {
	
	ElectedTextList text;

    public MarkedText(ElectedTextList text) {
        this.text = text;
    }

    public List<String> subSelections() {
        return null;
    }

}

@@ -234,24 +234,157 @@
 ist text) %7B%0A
+        super();%0A        if(text == null)%7B%0A            throw new IllegalArgumentException(%22The argument passed was null%22);%0A        %7D%0A
         this

Make test pass by throwing IllegalArgumentException