Fix generics in EppXmlTransformer.unmarshal to not be only on the return type.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=124914271
This commit is contained in:
cgoldfeder 2016-06-14 20:58:57 -07:00 committed by Ben McIlwain
parent 6466ad51f6
commit ec39f15a23
31 changed files with 133 additions and 62 deletions

View file

@ -14,12 +14,12 @@
package google.registry.testing;
import static google.registry.flows.EppXmlTransformer.unmarshal;
import static google.registry.testing.TestDataHelper.loadFileWithSubstitutions;
import static java.nio.charset.StandardCharsets.UTF_8;
import com.google.common.collect.ImmutableMap;
import google.registry.flows.EppXmlTransformer;
import google.registry.model.eppinput.EppInput;
import java.util.Map;
@ -38,7 +38,7 @@ public class EppLoader {
}
public EppInput getEpp() throws Exception {
return EppXmlTransformer.unmarshal(eppXml.getBytes(UTF_8));
return unmarshal(EppInput.class, eppXml.getBytes(UTF_8));
}
public String getEppXml() {