public async Task CanWrapRuntimeTypesWithSerializableWrapperAsync(Type type) { RemoteType remoteType = new RemoteType(type); (await remoteType.GetRuntimeTypeAsync()).Should().BeAssignableTo(type); }
public void CanWrapRuntimeTypesWithSerializableWrapper(Type type) { RemoteType remoteType = new RemoteType(type); remoteType.GetRuntimeType().Should().BeAssignableTo(type); }