justmock-docs/api/methods_t_telerik_justmock_...

46 строки
2.0 KiB
Markdown

---
title: Occurs Methods
page_title: Occurs Methods | JustMock Documentation
description: Documentation page about Occurs Methods.
previous_url: /methods_t_telerik_justmock_occurs.html
slug: methods_t_telerik_justmock_occurs
published: True
fullPath: api/n_telerik_justmock/t_telerik_justmock_occurs/methods_t_telerik_justmock_occurs/methods_t_telerik_justmock_occurs
category: "api"
---
# Occurs Methods
The [Occurs](t_telerik_justmock_occurs) type exposes the following members.
## Methods
|Name |Description |
--- |--- |--- |
![Public method](/icons/pubmethod.gif)![Static member](/icons/static.gif) |[AtLeast](m_telerik_justmock_occurs_atleast) |Specifies that the expected call should occur at leastnumberOfTimes<br>
times. |
![Public method](/icons/pubmethod.gif)![Static member](/icons/static.gif) |[AtLeastOnce](m_telerik_justmock_occurs_atleastonce) |Specifies that the expected call should occur at least once. |
![Public method](/icons/pubmethod.gif)![Static member](/icons/static.gif) |[AtMost](m_telerik_justmock_occurs_atmost) |Specifies that the expected call should occur at mostnumberOfTimes<br>
times. |
![Public method](/icons/pubmethod.gif)![Static member](/icons/static.gif) |[Exactly](m_telerik_justmock_occurs_exactly) |Specifies that the expected call should occur exactlynumberOfTimes<br>
times. |
![Public method](/icons/pubmethod.gif)![Static member](/icons/static.gif) |[Never](m_telerik_justmock_occurs_never) |Specifies that the expected call must never occur |
![Public method](/icons/pubmethod.gif)![Static member](/icons/static.gif) |[NotAvailable](m_telerik_justmock_occurs_notavailable) |Specifies that occurrence is not available. |
![Public method](/icons/pubmethod.gif)![Static member](/icons/static.gif) |[Once](m_telerik_justmock_occurs_once) |Specifies that the expected call should occur once. |
## See Also
[Occurs Class](t_telerik_justmock_occurs)
[Telerik.JustMock Namespace](n_telerik_justmock)