---
title: expectedFulfillmentCount
framework: xctest
role: symbol
role_heading: Instance Property
path: xctest/xctestexpectation/expectedfulfillmentcount
---

# expectedFulfillmentCount

The number of times fulfill() must be called before the expectation is completely fulfilled.

## Declaration

```swift
var expectedFulfillmentCount: Int { get set }
```

## Discussion

Discussion The value of expectedFulfillmentCount must be greater than 0. By default, expectations have an expectedFulfillmentCount of 1. note: The value of expectedFulfillmentCount is ignored when isInverted is true.

## See Also

### Fulfillment Count

- [assertForOverFulfill](xctest/xctestexpectation/assertforoverfulfill.md)
