Modify the class of generics parameter for value assert