Does Moq framework support out/ref arguments?
Moq

Quiz
•
Computers
•
1st - 5th Grade
•
Hard
Nataly Revutska
Used 2+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
yes
no
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
We use _________ method to check if the method which we set up called a certain number of times
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
______ type allows you to check how many times the dependency has been called.
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
How to transfer mock-object to the controller?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose we want to test controller ProductsController that uses ProductService(inherited from IProducts).
The following code will:
Execute(Test passed)
Not execute, Runtime error
Execute(Test failed)
Not execute, Compilation error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What part of the unit test does AutoFixture minimize?
Arrange
Act
Assert
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the expressions will pass the test if the method GetAllAsync() was called twice ?
service.Verify(x => x.GetAllAsync(), Times.AtLeastOnce());
service.Verify(x => x.GetAllAsync(), Times.Between(1, 3, Range.Exclusive));
service.Verify(x => x.GetAllAsync(), Times.AtMostOnce());
service.Verify(x => x.GetAllAsync(), Times.Once());
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Input and Output Devices

Quiz
•
3rd Grade
10 questions
Input and output device

Quiz
•
2nd - 5th Grade
13 questions
System Integration

Quiz
•
1st - 3rd Grade
14 questions
Input & Output Devices

Quiz
•
3rd - 8th Grade
12 questions
VEX IQ sensors

Quiz
•
3rd - 5th Grade
10 questions
Digital Devices 2

Quiz
•
3rd Grade
10 questions
data verification and validations

Quiz
•
5th - 8th Grade
15 questions
KUIZ ICT

Quiz
•
1st - 2nd Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade