public void GetUnknownGenericReponse() { var explicitInterface = new ExplicitInterfacePractice(); var result = explicitInterface.GetReponse <IDunnoResponse>(); Assert.IsTrue(result == "omega"); }
public void GetBravoReponse() { var explicitInterface = new ExplicitInterfacePractice(); var result = explicitInterface.GetBetaReponse(); Assert.IsTrue(result == "beta"); }
public void GetGenericReponse() { var explicitInterface = new ExplicitInterfacePractice(); var result = explicitInterface.GetReponse <IAlphaReponse>(); Assert.IsTrue(result == "alpha"); }
public void GetReponse() { var explicitInterface = new ExplicitInterfacePractice(); var result = explicitInterface.GetReponse(); Assert.IsTrue(result == "omega"); }