You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while writing unit testing, I cannot return the rxPreference.getString() as Preference since RealPreference() class is the only class which implements Preference that too final class.
org.mockito.exceptions.misusing.WrongTypeOfReturnValue:
String cannot be returned by getString()
getString() should return Preference
how to return the Preference in junit
The text was updated successfully, but these errors were encountered:
while writing unit testing, I cannot return the rxPreference.getString() as Preference since RealPreference() class is the only class which implements Preference that too final class.
org.mockito.exceptions.misusing.WrongTypeOfReturnValue:
String cannot be returned by getString()
getString() should return Preference
how to return the Preference in junit
The text was updated successfully, but these errors were encountered: