Top "Concreteclass" questions

How to call constructor with interface arguments when mocking a concrete class with Moq

I have the following class, which uses constructor injection: public class Service : IService { public Service(IRepository repository, IProvider provider) { ... } } For …

class mocking moq constructor-injection concreteclass
Data Binding Error Trying to Pass ViewModel into Include Layout with Abstract Variable Type

*EDIT: To answer my own question, I had to add EditorViewModel as an import to the parent abstract class in …

include abstract-class viewmodel android-databinding concreteclass