does this need an instanceof check or Assert.isInstanceOf?